home *** CD-ROM | disk | FTP | other *** search
- echo off
-
- if not exist %1:\fx_drv.exe goto ERR_4a
-
- %1:\fx_drv %1
- if errorlevel 4 goto ERR_4a
- if errorlevel 3 goto ERR_3a
- if errorlevel 2 goto ERR_2a
- if errorlevel 1 goto ERR_1a
-
- %1:
- goto ARG_2_VAL
-
- :ERR_1a
- echo A required drive designation is missing.
- goto ERROR_OUT
-
- :ERR_2a
- echo The drive designation is too long: %1:
- goto ERROR_OUT
-
- :ERR_3a
- echo The drive designation must be alphabetic: %1:
- goto ERROR_OUT
-
- :ERR_4a
- echo Unable to access dBFX on the designated drive: %1:
- goto ERROR_OUT
-
- :ARG_2_VAL
-
- %1:\fx_drv %2
- if errorlevel 4 goto ERR_4b
- if errorlevel 3 goto ERR_3b
- if errorlevel 2 goto ERR_2b
- if errorlevel 1 goto ERR_1b
-
- %2:
- goto EQUAL_VAL
-
- :ERR_1b
- echo A required drive designation is missing.
- goto ERROR_OUT
-
- :ERR_2b
- echo The drive designation is too long: %2:
- goto ERROR_OUT
-
- :ERR_3b
- echo The drive designation must be alphabetic: %2:
- goto ERROR_OUT
-
- :ERR_4b
- echo Unable to access the designated drive: %2:
- goto ERROR_OUT
-
- :EQUAL_VAL
- if not %1==%2 goto VALS_DONE
- echo Sending and receiving drives must not be the same.
- echo For single floppy system that has no hard drive,
- echo use "INSTALL A B".
- goto ERROR_OUT
-
- :VALS_DONE
- cls
- echo ┌─────────────────────────────────────────────────────────────────────┐
- echo │ dBFX INSTALLATION ROUTINE │
- echo └─────────────────────────────────────────────────────────────────────┘
- echo U N R E G I S T E R E D C O P Y
- echo.
- echo To license this software for continued use and obtain a registered copy
- echo of dBFX, the 40-page Programmer's Guide, and the Home Video Tracker,
- echo consult the DBFX.DOC file or simply complete the order form in DBFX.ORD
- echo.
- echo VISTON SYSTEMS, INC.
- echo 2217 Johnstown Road
- echo Chesapeake, VA 23322-2742
- echo (804) 421-4345
- echo.
- pause
- cls
- echo You will be requested to select the directories where you wish to have
- echo your dBFX files installed. I recommend that you do the following:
- echo a) Place FX.BIN, FXDIR.DBF, FXKEYS.DBF, FXFUNCT.PRG and FX.OBJ in
- echo the directory where you intend to use dBFX.
- echo b) Place FXFIND.EXE and FXLIST.EXE in a directory which is included
- echo in your AUTOEXEC.BAT file's PATH list.
- echo You must specify the COMPLETE path to each of the directories.
- echo
- %1:\fx_cd FX.BIN, FXDIR.DBF, FXKEYS.DBF, FXFUNCT.PRG, FX.OBJ path?
- copy %1:\fx.bin >nul
- copy %1:\fxdir.dbf >nul
- copy %1:\fxkeys.dbf >nul
- copy %1:\fxfunct.prg >nul
- copy %1:\fx.obj >nul
- copy %1:\dbfx.doc >nul
- copy %1:\dbfx.ord >nul
- %1:\fx_cd FXFIND.EXE, FXLIST.EXE path?
- copy %1:\fxfind.exe >nul
- copy %1:\fxlist.exe >nul
- echo
- echo dBFX INSTALLATION ROUTINE processing completed.
-
- goto END_OF_JOB
-
- :ERROR_OUT
- echo
- echo Syntax is : "INSTALL [sending drive] [receiving drive]"
- echo (Omit colons.)
- echo
- echo For example: "INSTALL A C"
- echo
-
- :END_OF_JOB